<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	
	<link rel="stylesheet" href="css/style_fechamento.css"></link>
	<link rel="stylesheet" href="css/style_form_duplicata.css"></link>
	
</h:head>
<h:body>
	
	<f:view>
		<ui:include src="topo.xhtml"></ui:include>
	</f:view>
	
	<div class="limite">
		
		<h3>Pagamentos/Duplicatas :.</h3>
		
		<div class="content_fechamento">
			
			<p:commandButton value="Cadastrar Pagamento/Duplicata"  onclick="dlg2.show();"></p:commandButton>
			
			<p:dialog id="modalDialog" header="Cadastrar Pagamento/Duplicata" widgetVar="dlg2" modal="true" height="250" resizable="false" width="500">

		    	<h:form styleClass="form_duplicata">
					
					<h:outputLabel styleClass="wh250">Descrição:</h:outputLabel>
					<p:inputText styleClass="wh250"></p:inputText>
					
					<h:outputLabel styleClass="wh250">Valor:</h:outputLabel>
					<p:inputText></p:inputText>

					<h:outputLabel styleClass="wh250">Data Vencimento:</h:outputLabel>
					<p:calendar styleClass="wh250"></p:calendar>
					
					<br/>
					
					<p:commandButton value="Cadastrar"></p:commandButton>
					
				</h:form>
			
			</p:dialog>
			
		</div>
		
		<div class="content_fechamento">

			<p:dataTable id="dataTable" var="car" value="" widgetVar="prodTable" emptyMessage="Nenhum registro encontrado" filteredValue="" style="font-size:12px;">
	
	        <f:facet name="header">
	        	Pagamentos Cadastrados
	        </f:facet>
	       
	        <p:column id="descColumn" filterBy="" 
	                headerText="Descrição de Pagamento">
	            <h:outputText value="Teste"/>
	        </p:column>

	        <p:column id="valorTotalColumn" filterBy="" style="text-align:center;"
	                headerText="Valor Total">
	            <h:outputText value="Teste" />
	        </p:column>
	        
	        <p:column id="vencimentoColumn" filterBy="" style="text-align:center;"
	                headerText="Vencimento">
	            <h:outputText value="Teste" />
	        </p:column>
	
	    </p:dataTable>
			
		</div>
		
	</div>
	
</h:body>
</html>